//home types
export interface ISlider {
	url: string
}
export interface Icommodity{
	commodityPic:string,
	commodityName:string,
	commodityPrice?:number,
	commodityDiscount:number,
	commoditySpecification:string
	commodityweight:string
}
export interface IShopList {
	shopLogo:string,
	shopname:string,
	saleroom:string,
	sendStartMoney: Number,
	freight:Number,
	activity:string,
	commodityList:Icommodity[]
}
export interface Ishop {
	hasMore: boolean,
	loading: boolean,
	offset: number,
	limit: number,
	list: IShopList[]
}
export interface IGridList {
	text: string,
	icon: string,
	dot: boolean,
	badge: string,
	to: string,
	iconColor: string
	bgColor:string | object
}
export enum directionName {
	horizontal,
	vertical,
}
export interface IgridConfig {
	columnNum: number, //列数
	square: boolean, //是否正方形鸽子
	gutter: number, //各自间距
	border: boolean, //是否显示边距
	isCustom: boolean, // 是否自定义
	direction: directionName,
	data:IGridList[]
}
export interface IHomeState {
	logo:string,
	address:string,
	gridConfiguration:IgridConfig,
	sliders: ISlider[],
	shopList:Ishop
}

